package it.low.util.logger;

import java.util.Date;
import java.util.logging.Formatter;
import java.util.logging.LogRecord;

public class FileLogFormatter extends Formatter{

	@Override
	public String format(LogRecord logRecord) {
		StringBuffer buf = new StringBuffer(1000);
		buf.append(new Date(logRecord.getMillis())).append(" ");
		buf.append(logRecord.getMessage()).append("\n");
		return buf.toString();
	}

}
